<%= javascript_include_tag "cy_maps" %>
<div class="search-area search-form">
  <div class="search-row">
    <label><%= t 'activerecord.attributes.cy_map.shipowner' %></label>
    <%= select_tag "cy_shipowner_id", options_from_collection_for_select(@shipowners, :id, :name), :include_blank => true %>

    <label><%= t 'activerecord.attributes.cy_map.forward' %></label>
    <%= select_tag "cy_forward_id", options_from_collection_for_select(@forwards, :id, :name), :include_blank => true %>

    <label><%= t 'activerecord.attributes.cy_map.port' %></label>
    <%= select_tag "cy_port_id", options_from_collection_for_select(@ports, :id, :name), :include_blank => true %>

    <label><%= t 'activerecord.attributes.cy_map.voyage' %></label>
    <%= select_tag "cy_voyage", options_for_select(@voyages), :include_blank => true %>
  </div>

  <div class="search-row">
    <label><%= t 'activerecord.attributes.cy_map.route' %></label>
    <%= select_tag "cy_route", options_for_select(@routes), :include_blank => true %>

    <label><%= t 'activerecord.attributes.cy_map.course' %></label>
    <%= select_tag "cy_course", options_for_select(@courses), :include_blank => true %>

    <label><%= t 'activerecord.attributes.cy_map.bl_no' %></label>
    <input type="text" id="cy_bl_no" onkeydown="SubmitKeyClick(event)">

    <label><%= t 'activerecord.attributes.cy_map.shipping_ctn' %></label>
    <input type="checkbox" id="is_on_way" value="<%= t 'activerecord.attributes.cy_map.shipping_ctn' %>" style="width:15px;margin-left:-2px;"/>

    <%= link_to (t 'activerecord.attributes.motorcade.vehicle_seach'), "#",
                {:style => "margin-left:150px", :class => "inline-block s-btn query-btn", :id => "query-btn",:onClick => 'find_bl()'} %>

  </div>
</div>


